Quad tree demo

Each cluster can take 6 cells in its own DATA

When this DATA is full, the cluster splits into four children that each manage cells on one corner of the limits of the parent cell

World size is 1000 * 1000

Cell added:

Output in console